﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Web;

namespace DSAServer.Utils
{
    public enum OrderStatus
    {
        [Description("没有创建支付宝交易")]
        TRADE_NO_CREATE_PAY,
        [Description("等待买家付款")]
        WAIT_BUYER_PAY,
        [Description("卖家部分发货")]
        SELLER_CONSIGNED_PART,
        [Description("等待卖家发货,即:买家已付款")]
        WAIT_SELLER_SEND_GOODS,
        [Description("等待买家确认收货,即:卖家已发货")]
        WAIT_BUYER_CONFIRM_GOODS,
        [Description("买家已签收,货到付款专用")]
        TRADE_BUYER_SIGNED,
        [Description("交易成功")]
        TRADE_FINISHED,
        [Description("付款以后用户退款成功，交易自动关闭")]
        TRADE_CLOSED,
        [Description("付款以前，卖家或买家主动关闭交易")]
        TRADE_CLOSED_BY_TAOBAO,
        [Description("国际信用卡支付付款确认中")]
        PAY_PENDING,
        [Description("0元购合约中")]
        WAIT_PRE_AUTH_CONFIRM
    }
}